﻿<ribbon:RibbonWindow x:Class="HallTimer.Views.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
        Title="MainWindow"
		x:Name="RibbonWindow"
		Width="640" Height="480" Closing="RibbonWindow_Closing">

	<Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <ribbon:Ribbon x:Name="Ribbon" SelectionChanged="onTab_Click">
            <ribbon:Ribbon.ApplicationMenu>
                <ribbon:RibbonApplicationMenu SmallImageSource="..\Images\SmallIcon.png">
                    <ribbon:RibbonApplicationMenuItem Header="Afsluiten"
                                                      x:Name="closeMenuItem"
                                                      ImageSource="..\Images\LargeIcon.png" Click="closeMenuItem_Click" />
                </ribbon:RibbonApplicationMenu>
            </ribbon:Ribbon.ApplicationMenu>
            <ribbon:RibbonTab x:Name="timerTab" 
                              Header="Timer" IsEnabled="True">
                <ribbon:RibbonGroup x:Name="timerActionGroup" 
                                    Header="Timer">
                    <ribbon:RibbonButton x:Name="timerStartButton"
                                         LargeImageSource="..\Images\timperStart.png"
                                         Width="80"
                                         Label="Starten"
                                         IsEnabled="False"
                                         Click="onTimerButton_Click" />
                    <ribbon:RibbonButton x:Name="timerStopButton"
                                         LargeImageSource="..\Images\TimerIconStop.png"
                                         Width="80"
                                         Label="Stoppen" 
                                         IsEnabled="False"
                                         Click="onTimerButton_Click" />
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
            <ribbon:RibbonTab x:Name="liedTab"
                              Header="Liederen" IsEnabled="True">
                <ribbon:RibbonGroup x:Name="liedActionGroup" 
                                    Header="Acties">
                    <ribbon:RibbonButton x:Name="tonenRibbonButton"
                                         LargeImageSource="..\Images\songPlay.png"
                                         Width="80"
                                         Label="Liednummer tonen" Click="onSongButton_Click" />

                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
        </ribbon:Ribbon> 
        
        <Frame Grid.Row="1" Name="mainFrame"
               HorizontalAlignment="Stretch"
               VerticalAlignment="Top"
               Margin="0,0,0,0"
               Panel.ZIndex="0"
               NavigationUIVisibility="Hidden"/>
    </Grid>
</ribbon:RibbonWindow>
